@echo off
set config=%2
if "%config%" == "" (
    set "config=Debug"
)
cd %LongbowFolder%\%1
dotnet pack -c %config% %LongbowFolder%\%1\
copy %LongbowFolder%\%1\bin\%config%\%1*.nupkg %NugetLib% /y
del %LongbowFolder%\%1\bin\%config%\%1*.nupkg
cd %NugetLib%
set config=
del %USERPROFILE%\.nuget\packages\%1 /S /F /Q
dir %NugetLib%\%1*.nupkg
